import request from '@/utils/request';

/**
 * JOPENS在线用户监控
 * @param params
 * @returns
 */
export const fetchDeviceList = () => {
  return request({
    url: 'powerEnvironmentDevice/deviceList',
  });
};

/**
 * 实时参数
 */
export const fetchDrealTimeParams = (params: any) => {
  return request({
    url: 'powerEnvironmentDevice/realTimeParams',
    params,
  });
};
